package com.hongminzheng.openapi.pojo;

public class Route {
    private Integer id;

    private String gatewayApiName;

    private String insideApiUrl;

    private String serviceId;

    private String description;

    private Integer state;

    private Integer idEmpotents;

    private Integer needFee;

    public Route(Integer id, String gatewayApiName, String insideApiUrl, String serviceId, String description, Integer state, Integer idEmpotents, Integer needFee) {
        this.id = id;
        this.gatewayApiName = gatewayApiName;
        this.insideApiUrl = insideApiUrl;
        this.serviceId = serviceId;
        this.description = description;
        this.state = state;
        this.idEmpotents = idEmpotents;
        this.needFee = needFee;
    }

    public Route() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGatewayApiName() {
        return gatewayApiName;
    }

    public void setGatewayApiName(String gatewayApiName) {
        this.gatewayApiName = gatewayApiName == null ? null : gatewayApiName.trim();
    }

    public String getInsideApiUrl() {
        return insideApiUrl;
    }

    public void setInsideApiUrl(String insideApiUrl) {
        this.insideApiUrl = insideApiUrl == null ? null : insideApiUrl.trim();
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId == null ? null : serviceId.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIdEmpotents() {
        return idEmpotents;
    }

    public void setIdEmpotents(Integer idEmpotents) {
        this.idEmpotents = idEmpotents;
    }

    public Integer getNeedFee() {
        return needFee;
    }

    public void setNeedFee(Integer needFee) {
        this.needFee = needFee;
    }
}